package com.fei.BYSJ.service;

import com.fei.BYSJ.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    int add(User userInfo);

    User findOne(int id);
    List<User> findAll(Map<String,Object> params);
    List<User> findByLogin(String userAccount,String userPassword);
    User findByAccount(String userAccount);


    int uploadUser(User user);

    int deleteUserById(int id);

    int managerUploadUser(User user);
}
